@charset "utf-8";
 
html,body{
    height: 100%;
    width: 100%;
}
*{
    padding: 0;
    margin: 0;
}
body{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.header{
    height: 250px;
    width: 100%;
    background: #f2b830;
    border-radius: 0 0 100px 0;
    text-align: center;
    color: #fff;
    box-sizing: border-box;
}
.header h2{
    font-family: "楷体";
    line-height: 60px;
}
.header nav{
    width: 100%;
    height: 30px;
    display: flex;
    justify-content: space-around;
    color:#fff4dc;
}
.on{
    color: #fff;
}
.header nav .on::after{
    content: "";
    display: block;
    height: 3px;
    width: 20px;
    background: #fff;
    margin:5px auto;
    border-radius: 3px;
}
.header div{
    width: 96%;
    height: 160px;
    margin: 10px auto;
    background-image: url(../images/sh1_03.png);
    background-size: 100% 100%;
    border-radius: 15px;
}
.main{
    width: 100%;
    flex: 1;
    overflow-y: scroll;
}
.main-nav{
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 14px;
    margin-top: 30px;
    text-align: center;
}
.main-nav span:first-child{
    display:block;
    height: 60px;
    width: 60px;
    background-image: url(../images/sh2_02.png);
    background-size: 667px 60px;
    background-position: -36px -1px;
    border-radius: 35px;
}
.main-nav div:nth-child(2) span:first-child{
    background-position: -169px -1px;
}
.main-nav div:nth-child(3) span:first-child{
    background-position: -302px -1px;
}
.main-nav div:nth-child(4) span:first-child{
    background-position: -435px -1px;
}
.main-nav div:nth-child(5) span:first-child{
    background-position: -568px -1px;
}
.main-content{
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 10px;
}
.main-content div{
    height: 180px;
    width: 48%;
    border-radius: 5px;
}
.main-content div:nth-child(2n-1){
    height: 250px;
}
.main-content div img{
    width: 100%;
    height: 70%;
    border-radius: 5px;
} 
.main-content p:last-child{
    font-size: 14px;
    display: flex;
    justify-content: space-between;
}
.main-content p img{
    height: 20px;
    width: 20px;
    vertical-align: bottom;
}
/* 底部 */
.footer{
    height: 50px;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: rgb(184, 222, 236);
}
.footer div{
    text-align: center;
}
.footer div:nth-child(3){
    color: rgb(214, 162, 108);
}
.footer div p{
    font-size: 14px;
}